Z-HistogramIt is possible to approximate the underlying distribution of a random variable by using what is called an "Histogram". In order to construct an histogram one must first split the data into several intervals (also called bins) often of the same size and count the number of values falling within each intervals, the histogram plot is then constructed with the X axis representing the measured variable and the Y axis representing the frequency.
The proposed script aim to estimate the underlying distribution of a rolling z-score by constructing its histogram, here the histogram consist of 13 bins of width 0.5 rolling standard deviations. The length setting define the rolling z-score period, the window setting define the number of past data to be counted, finally using the "Total" option (true by default) will count all the rolling z-scores values since the first bar, in order to use the window setting make sure to uncheck the "Total" option.
DISPLAY
In order to see the entirety of the histogram make sure to double click on the indicator window and to have all the lower panels (text notes, pine editor...etc) hidden, finally make sure to zoom-in in order to see the frequency numbers displayed.
Z-Histogram on BTCUSD 15 min TF, the blue bins represent intervals situated over 0 while red bins represent intervals situated under 0. Here σ represent the X-axis in standard deviations, the histogram start with a bin situated at σ = -3 which count the number of times the rolling z-score was within -3 and -2.5, the histogram end with the bin situated at σ = 3 which count the number of time the rolling z-score was within 3 and 3.5.
It is also possible to look at the shape of the histogram without having the indicator window at full size.
INTERPREATION
An histogram can give really interesting information such as overall trend direction and strength. The direction can be measured by looking at the skewness of the histogram, with a negative skewness (the peak of the histogram situated at the right from the center) representing down-trending variations and positive skewness (the peak of the histogram situated at the left from the center) representing up-trending variations, while a symmetrical histogram could represent a ranging market. The farther away the peak of the histogram is situated from the center, the stronger the trend.
Another interesting characteristic is the tailedness of the histogram, which can give information about the cleanliness of the trend, for example a positive skew and high tailedness would represent a clean up-trend, as it could suggest less variations contrary to the main trend.
An histogram applied to the rolling z-score can give various useful information. As a recall the rolling z-score of the price measure the distance between the closing price and its moving average in term of rolling standard deviations, for example if the rolling z-score is equal to 2 it means that the closing price is currently 2 rolling standard deviations over its moving average.
Lets for example analyze the histogram using INTC 15 min tf with a window of 456 bars and rolling z-score of length = 100 in order to review longer term variations.
We can see from the histogram that the uptrend visible on the chart is represented by the bins situated over 0 having an overall higher frequency than the bins under 0, we can see that the closing price tended to stay between 1 and 1.5 rolling standard deviations over its period 100 moving average. Here bins under 0 accounts for retracements in the trend.
IN SUMMARY
An histogram can give various information regarding the price evolution of a security, the proposed script aim to plot the histogram of a rolling z-score. Now this script might not be too useful but it was fun to make, also it does not mean that an histogram is not an useful tool in the context of trading, the only thing required is a god implementation of it (like volume profiles for example)
In this post we have also reviewed some important statistical concepts such as distributions, z-score, skewness and tailedness, each being extremely important in the quantitative trading field.
Thx for reading !
Cerca negli script per "volume profile"
Delta Volume Columns [LucF]Displays delta volume columns using intrabar volume information. Each volume column is divided into three sections: buying, selling and neutral volume. Volume for each section is determined from the volume and price movement of each intrabar at a user-selected lower resolution.
Features include:
- Choice of color themes for either dark or light chart backgrounds
- Delta volume columns
- Volume Balance displayed as the difference between the MAs of buying and selling volume
- Display of divergences between a bar’s volume balance and the bar’s price movement (example: buying volume > selling volume but close < open). Divergences can be shown in 2 different color schemes (including green/red showing a tentative direction), on volume columns and/or on chart bars
- Display of bar by bar volume balance with highlighting of above average volume
- Display of the usual total volume MA
- Choice of the lower resolution used to retrieve intrabar information
- Alerts configurable on any combination of the markers, with control over long/short direction
- Choice of 3 different markers:
1. Double bumps: two consecutive bars where buying or selling volume is in the same direction and where volume > volume MA
2. Divergence confirmations: direction of the price bar following a price/volume balance divergence
3. Volume balance shifts: zero level crossings of the volume balance MA delta
The chart shows the two main modes of display:
- Top pane : shows the stacked volume columns with divergences in orange and the flattened volume balance MAs delta at the bottom of the volume columns. This volume balance is the same shown in the bottom pane. The top pane also shows the instant volume balance strip above the volume columns. The strip’s colors show which of the buying or selling volume was greater, and colors are brighter if the total volume was above the total volume MA.
- Bottom pane : shows the volume balance MAs delta with markers 1 and 2. Given that this graphic has no price momentum component, I find quite eerie how it often looks like a momentum-based signal.
The default 5 minute intrabar resolution is used in combination with the weekly chart, which is excessive.
This script uses a special characteristic of the security() function’s behavior when it is sent to a resolution lower than the chart’s resolution. Details are given in the script’s comments. This method has the advantage of working under more circumstances than some of the other loop-based methods, but it also has its limits.
IMPORTANT
This is what you need to know:
- The method used does not work on the realtime bar—only on historical bars. Consequently, the volume column shown on the realtime bar is a normal volume column plotted in green or red, following price movement. The column will only show delta volume information after it closes and becomes a historical bar.
- The indicator only works on some chart resolutions: 5, 10, 15 and 30 minutes, 1, 2, 4, 6, and 12 hours, 1 day, 1 week and 1 month. The script’s code can be modified to run on other resolutions, but chart resolutions must be divisible by the lower resolution used for intrabars.
- Intrabar resolutions can be selected from 1, 5, 15, 30, 45 minutes, 1, 2, 3, 4 hours, 1 day, 1 week and 1 month. The intrabar resolution must of course be smaller than the chart’s resolution.
- Contrary to my other indicators where alerts must be configured to trigger “Once Per Bar Close” in order to avoid false triggers (or repainting), all this indicator’s alerts are designed to trigger using previous bar information since the indicator’s calculations in the realtime bar are not exact. Markers are not plotted with a negative offset; they appear at the beginning of the realtime bar following confirmation of the marker’s condition on the previous bar. Alerts for this indicator should thus be configured to trigger “Once Per Bar” so they trigger at the beginning of the realtime bar. Note that the penalty is not that great, as it is simply the instant between the close of the previous realtime bar and the opening of the next. The advantage of using this technique is that the indicator does not repaint; a marker that appears at the beginning of the realtime bar will never disappear.
- The script only plots information that is reliable in the realtime bar, i.e., total volume and markers. All other plots are set to n/a to prevent misleading traders.
- When the difference between the chart’s resolution and the lower resolution is too important, volume columns will not calculate for all bars in the dataset.
On Delta Volume
Buying or selling volume are misnomers, as every unit of volume transacted is both bought and sold by 2 different traders. There is no such thing as “buy only” or “sell only” volume, but trader lingo is riddled with original fabulations.
Without access to order book information, traders work with the assumption that when price moves up during a bar, there was more buying pressure than selling pressure. The built-in volume indicator available on TradingView uses this logic to color the volume columns green or red. While this script’s numbers are more precise because it analyses a number of intrabars to calculate its information, it uses the exact same imperfect logic to calculate its buying/selling/neutral sections.
Until Pine scripts can have access to how much volume was transacted at the bid/ask prices, our so-called buying/selling volume information will always be a mere proxy.
Divergences
You may wonder how there can be divergences between buying/selling volume information and price movement. This will sometimes be due to the methodology’s shortcomings we have just discussed, but divergences may also occur in instances where because of order book structure, it takes less volume to increase the price of an asset than it takes to decrease it.
As usual, divergences are points of interest because they reveal imbalances, which may or may not become turning points. I do not share the overwhelming enthusiasm traders have for divergences. To your pattern-hungry brain, the orange bars this indicator shows on chart will—as divergences on other indicators do–appear to often indicate turnarounds. My opinion is that reality is generally quite sobering, as many who have tried building automated rules based on divergences will tell you. I do not have hard numbers on the lack of performance of divergences—only many failed attempts to make them perform, which a few experienced strategy modelers I know share with me. Please don’t try to read too much into them. While they look great on past data, I find they are often difficult to use in realtime to make bets with good odds.
Thanks to:
- A guy called Kuan who commented on a Backtest Rookies presentation of an intrabar delta volume indicator using a for loop. The heart of “my” indicator is code borrowed from Kuan; I just built a hopefully useful wrapper around it.
- @theheirophant, my partner in the exploration of the sometimes weird abysses of security() ’s behavior at lower resolutions.
moving quantilesAlways works... Just kidding, indicates moving quantiles. Something between volume profiles and moving averages.
XAUUSD Confluence Analyzer# TradingView Setup Guide - XAUUSD Confluence Indicator
Configuring the Indicator Settings
Once added to your chart, click the **gear icon** next to the indicator name to access settings:
### RSI Settings:
- **RSI Length**: 14 (default)
- **RSI Overbought**: 70
- **RSI Oversold**: 30
### Volume Settings:
- **Volume Multiplier**: 1.5 (signals high volume when 1.5x average)
### Support/Resistance Settings:
- **Lookback Period**: 20
- **S/R Touch Strength**: 3
### Key Levels (Update these based on current market):
- **Key Support 1**: 3269.0
- **Key Support 2**: 3321.0
- **Key Resistance 1**: 3400.0
- **Key Resistance 2**: 3450.0
### Fibonacci Settings:
- **Fibonacci Lookback**: 100 periods
Understanding the Visual Elements
### Lines and Levels:
- **Green Lines**: Support levels (Key Support 1 & 2)
- **Red Lines**: Resistance levels (Key Resistance 1 & 2)
- **Purple/Blue/Orange Dots**: Fibonacci retracement levels (61.8%, 50%, 38.2%)
### Background Colors:
- **Yellow Background**: High confluence (70+ score) - Strong signal
- **Blue Background**: Moderate confluence (40-69 score)
- **Gray Background**: Low confluence (<40 score)
### Signal Arrows:
- **Green Triangle Up**: Buy signal (confluence score 70+ at support)
- **Red Triangle Down**: Sell signal (confluence score 70+ at resistance)
### Information Table (Top Right):
- **Confluence Score**: Current confluence strength (0-100)
- **RSI**: Current RSI value
- **Distance to Levels**: How close price is to key levels
- **Volume**: Current volume status (HIGH/NORMAL)
- **Signal**: Current signal (BUY/SELL/NONE)
- **Strength**: Overall signal strength (STRONG/MODERATE/WEAK)
Setting Up Alerts
1. **Right-click on the chart** and select "Add Alert"
2. **Choose your indicator** from the dropdown
3. **Select alert type**:
- "Confluence Buy Signal" - Alerts when buy conditions met
- "Confluence Sell Signal" - Alerts when sell conditions met
- "High Confluence Alert" - Alerts when score reaches 70+
4. **Configure notification method** (email, SMS, app notification)
5. **Click "Create"**
## Step 5: Additional Setup Recommendations
### Complementary Indicators to Add:
1. **Volume Profile** - Shows volume at price levels
2. **MACD** - Momentum confirmation
3. **Bollinger Bands** - Volatility and mean reversion
4. **200 EMA** - Long-term trend direction
### Chart Setup:
- **Timeframe**: Daily for main signals, 4H for entries/exits
- **Chart Type**: Candlesticks
- **Extended Hours**: Enable for complete price action
### Watchlist Setup:
Create a watchlist with:
- XAUUSD (main)
- DXY (Dollar Index - inverse correlation)
- US10Y (Bond yields - affects gold)
- SPX (Risk sentiment)
Trading Rules Based on Confluence Score
### High Confluence (70+ Score):
- **Entry**: Wait for score 70+ at key levels
- **Stop Loss**: Below nearest support (buy) / Above nearest resistance (sell)
- **Take Profit**: Next resistance level (buy) / Next support level (sell)
- **Position Size**: Full position size
### Moderate Confluence (40-69 Score):
- **Entry**: Wait for additional confirmation (price action, volume)
- **Stop Loss**: Tighter stops
- **Take Profit**: Partial targets
- **Position Size**: Reduced position size
### Low Confluence (<40 Score):
- **Action**: Avoid trading, wait for better setup
- **Use**: Market analysis only
## Step 7: Backtesting Your Strategy
1. **Use TradingView's Strategy Tester**
2. **Convert indicator to strategy** (modify Pine Script)
3. **Test different timeframes** (4H, Daily, Weekly)
4. **Optimize parameters** based on historical performance
5. **Paper trade** before live implementation
## Step 8: Regular Maintenance
### Weekly Tasks:
- Review key support/resistance levels
- Update Fibonacci lookback period if needed
- Check alert functionality
### Monthly Tasks:
- Analyze performance metrics
- Adjust key levels based on new market structure
- Review and optimize parameters
## Troubleshooting Common Issues
### Indicator Not Loading:
- Check Pine Script syntax errors
- Ensure all input values are valid
- Try reducing lookback periods if memory issues
### Signals Not Appearing:
- Verify key levels are current
- Check if confluence score is reaching threshold
- Ensure all conditions are met simultaneously
### Too Many/Few Signals:
- Adjust confluence score threshold
- Modify RSI overbought/oversold levels
- Change volume multiplier sensitivity
## Mobile App Usage
The indicator works on TradingView mobile app:
1. **Sync your account** to access custom indicators
2. **Alerts will work** on mobile notifications
3. **Table display** may be smaller but functional
4. **All signals and levels** display correctly
## Pro Tips
1. **Combine with multiple timeframes**: Use daily for signals, 4H for entries
2. **Watch news events**: Gold is sensitive to economic data
3. **Monitor correlations**: Watch DXY, yields, and equity markets
4. **Use confluence with price action**: Look for engulfing patterns, pin bars at levels
5. **Risk management**: Never risk more than 1-2% per trade
This indicator automates the confluence analysis we identified and provides clear visual signals for XAUUSD trading opportunities.
Quantum Trading MatrixThe Quantum Trading Matrix is a sophisticated Pine Script indicator designed for TradingView that offers a comprehensive trading dashboard by combining multiple market analysis techniques in one interface. The indicator integrates price action, volume, momentum, trend detection, institutional activity, and technical oscillators to provide traders a unified perspective on the market.
At its core, the script uses fundamental market data like price (open, high, low, close) and volume to calculate various metrics. The VWAP (Volume Weighted Average Price) is a key element that helps traders understand if the price is trading above or below the average price weighted by volume, indicating market strength or weakness. The distance of the current price from the VWAP is computed as a percentage to signal how far the price has diverged from this benchmark.
Momentum is measured through a "Quantum Momentum Oscillator" derived from the difference between fast and slow exponential moving averages of price. Positive momentum signals bullish conditions while negative momentum signals bearish ones. Volume flow analysis breaks down buying versus selling pressure on each bar by observing where the close price lies within the daily range combined with volume, generating an order flow ratio. This aids in identifying if buyers or sellers dominate the market at a given time.
Trend detection involves calculating EMAs of different lengths (8, 21, and 50) and aggregating their relationships into a trend score. Scores range from strong uptrend to downtrend, providing a clear directional bias. Institutional activity is inferred by detecting volume spikes significantly above the average volume, suggesting large players might be active. A dark pool estimate provides an approximate volume figure representing hidden or off-exchange trading.
The script also identifies market structure by detecting pivot highs and lows which act as resistance and support levels, respectively. These levels offer valuable insight into potential price reversals or breakouts. The RSI (Relative Strength Index) is incorporated, including a basic divergence detection to suggest potential bull or bear reversals. Volatility is measured using the Average True Range (ATR), classifying the current volatility from low to extreme, helping traders gauge the risk environment.
All these metrics are combined into a scoring system that awards points for positive indications such as price above VWAP, positive order flow, bullish momentum, and an uptrend in EMAs. The overall score ranges from 0 to 100 and is interpreted visually with emojis: a rocket for strong bullish setups, a chart up emoji for positive bias, a balanced scale for neutral, and a chart down emoji for bearish conditions.
The indicator issues alerts based on the combination of these signals, including bullish and bearish setups when multiple criteria align favorably, volume spike alerts when abnormal volume events occur, and institutional activity alerts for high volume surges.
To use this indicator effectively, traders should first assess the trend direction indicated by the EMA-based scoring. Positive momentum and price trading above the VWAP confirm bullish bias, while the opposite suggests bearishness. Volume flow and institutional activity provide additional confirmation. Support and resistance levels derived from pivots help in planning entries and exits. The RSI and volatility readings inform traders of potential overbought or oversold conditions and market risk levels. Alerts provide timely notifications to act on significant setups.
The indicator is highly customizable, allowing users to adjust the dashboard's position, size, and color theme to suit personal preferences. Parameters such as the momentum period, volume profile bars, trend multiplier, and signal sensitivity can be fine-tuned to adapt to different markets and trading styles.
This tool requires foundational knowledge of key technical concepts such as EMAs, VWAP, ATR, RSI, and volume analysis for best utilization. For traders interested in expanding their understanding, recommended resources include the TradingView Pine Script manual, technical analysis books by John J. Murphy and Dr. Alexander Elder, and practical video tutorials focusing on volume spread analysis and institutional order flow.
Overall, the Quantum Trading Matrix™ serves as a powerful control panel for active traders, providing a multi-dimensional view of the market through combined technical indicators, helping to identify high probability trade setups and manage risk effectively.
________________________________________
⚠️ Warning:
• Trading financial markets involves substantial risk.
• You can lose more money than you invest.
• Past performance of indicators does not guarantee future results.
• This script must not be copied, resold, or republished without authorization from aiTrendview.
By using this material or the code, you agree to take full responsibility for your trading decisions and acknowledge that this is not financial advice.
________________________________________
⚠️ Disclaimer and Warning (From aiTrendview)
This Dynamic Trading Dashboard is created strictly for educational and research purposes on the TradingView platform. It does not provide financial advice, buy/sell recommendations, or guaranteed returns. Any use of this tool in live trading is completely at the user’s own risk. Markets are inherently risky; losses can exceed initial investment.
The intellectual property of this script and its methodology belongs to aiTrendview. Unauthorized reproduction, modification, or redistribution of this code is strictly prohibited. By using this study material or the script, you acknowledge personal responsibility for any trading outcomes. Always consult professional financial advisors before making investment decisions.
Vwapbot (VWAP + Ut Bot Alerts)Vwapbot (VWAP + Ut Bot Alerts) - Complete Guide
This Pine Script indicator combines two powerful trading tools: Volume Weighted Average Price (VWAP) and the UT Bot trend-following system. Here's a comprehensive breakdown:
What This Indicator Does
The indicator provides:
1. VWAP calculation with deviation bands
2. UT Bot trend signals with trailing stops
3. Combined confluence alerts when both indicators align
4. Visual information table showing current market conditions
Core Components
1. VWAP (Volume Weighted Average Price)
What it is: VWAP calculates the average price weighted by volume, giving more importance to high-volume periods.
Settings:
• VWAP Source: Price used for calculation (default: hlc3 - average of high, low, close)
• VWAP Anchor: Reset period (Session/Week/Month/Quarter/Year)
Usage:
• Price above VWAP = bullish bias
• Price below VWAP = bearish bias
• VWAP acts as dynamic support/resistance
2. VWAP Deviation Bands
What they show: Statistical boundaries around VWAP based on price volatility
Settings:
• Standard Deviation Multiplier: How far the bands extend (default: 1.0)
• Show Bands: Toggle visibility
Usage:
• Gray dashed lines: 1 standard deviation bands (normal price range)
• Red dotted lines: 2 standard deviation bands (extreme price levels)
• Price touching outer bands may indicate reversal opportunities
3. UT Bot (Ultimate Trend Bot)
What it does: Creates a trailing stop system that follows trends and signals reversals
Settings:
• Key Value: Sensitivity multiplier (1.0 = balanced, lower = more sensitive)
• ATR Period: Lookback period for volatility calculation (default: 10)
How it works:
• Uses ATR (Average True Range) to calculate dynamic support/resistance levels
• Green line = uptrend (trailing stop below price)
• Red line = downtrend (trailing stop above price)
4. UT Bot Alerts are integrated to the logic of Volume Profile i,e VWAP, the UT Bot Stop trailing line plot its data and change trends obtaining it's logic from the VWAP and Standard Deviation bands, thus it differs in it's logic of UT Bot alerts from other indicators.
Visual Elements
On-Chart Displays:
1. Blue line: VWAP
2. Gray lines: 1st deviation bands
3. Red lines: 2nd deviation bands
4. Green/Red thick line: UT Bot trailing stop
5. Green triangles up: Buy signals
6. Red triangles down: Sell signals
7. Background color: Light green (bullish) / Light red (bearish)
Information Table (Top Right):
• VWAP: Current VWAP value
• UT Bot: Current trailing stop level
• Trend: Bullish/Bearish status
• Price vs VWAP: Above/Below comparison
• Deviation: Percentage distance from VWAP
• Volume: Current bar volume
Trading Signals
Basic Signals:
1. UT Bot Buy: Green triangle when trend turns bullish
2. UT Bot Sell: Red triangle when trend turns bearish
3. VWAP Cross Above: Price crosses above VWAP
4. VWAP Cross Below: Price crosses below VWAP
Confluence Signals :
1. Bullish Confluence: UT Bot buy signal + Price above VWAP
2. Bearish Confluence: UT Bot sell signal + Price below VWAP
How to Use This Indicator
For Trend Following:
1. Enter long when you get a bullish confluence signal
2. Enter short when you get a bearish confluence signal
3. Exit when the UT Bot trend changes color
For Mean Reversion:
1. Look for reversals when price hits the 2nd deviation bands
2. Confirm with UT Bot signals
3. Target return to VWAP
For Support/Resistance:
1. Use VWAP as dynamic support in uptrends, resistance in downtrends
2. Watch for bounces at deviation bands
3. Confirm direction with UT Bot trend color
Best Practices
Timeframes:
• Intraday: Use Session VWAP anchor
• Swing trading: Use Weekly/Monthly anchors
• Position trading: Use Monthly/Quarterly anchors
Risk Management:
• Stop loss: Below/above the UT Bot trailing stop
• Position sizing: Smaller positions when price is at extreme deviation bands
• Confluence: Wait for both VWAP and UT Bot alignment for strongest signals
Market Conditions:
• Trending markets: Focus on UT Bot signals and VWAP direction bias
• Ranging markets: Use deviation bands for entry/exit points
• High volume periods: VWAP becomes more significant
Alert System
The indicator provides 6 types of alerts:
1. UT Bot buy/sell signals
2. VWAP crossover alerts
3. Confluence alerts (most important)
Set up alerts for confluence signals to catch the highest probability setups when both indicators align.
This indicator works best when combined with proper risk management and used in conjunction with market structure analysis. The confluence signals provide the highest probability entries, while the individual components help with market.
Advice from the publisher:
For using with Indices e.g NIFTY 50, BANKNIFTY etc. use parameters:
UT BOT Key Value : 1
UT BOT ATR Period : 10
Standard Deviation Multiplier : 1 {Default}
For using with commodities e.g NATURALGAS, CRUDEOIL etc. use parameters:
UT BOT Key Value : 2
UT BOT ATR Period : 7
Standard Deviation Multiplier : 1 {Default}
StdDev Supply/Demand Zone RefinerThis indicator uses standard deviation bands to identify statistically significant price extremes, then validates these levels through volume analysis and market structure. It employs a proprietary "Zone Refinement" technique that dynamically adjusts zones based on price interaction and volume concentration, creating increasingly precise support/resistance areas.
Key Features:
Statistical Extremes Detection: Identifies when price reaches 2+ standard deviations from mean
Volume-Weighted Zone Creation: Only creates zones at extremes with abnormal volume
Dynamic Zone Refinement: Automatically tightens zones based on touch points and volume nodes
Point of Control (POC) Identification: Finds the exact price with maximum volume within each zone
Volume Profile Visualization: Shows horizontal volume distribution to identify key liquidity levels
Multi-Factor Validation: Combines volume imbalance, zone strength, and touch count metrics
Unlike traditional support/resistance indicators that use arbitrary levels, this system:
Self-adjusts based on market volatility (standard deviation)
Refines zones through machine-learning-like feedback from price touches
Weights by volume to show where real money was positioned
Tracks zone decay - older, untested zones automatically fade
Visual Delta Dashboard - Dark Theme📊 Visual Delta Dashboard – Dark Theme
An advanced buy/sell delta visualization tool built for high-clarity market analysis, especially in dark mode chart setups.
This script calculates proportional buy & sell volumes from a lower timeframe (configurable), providing traders with:
Real-time Delta Volume Analysis – Difference between buy and sell volume.
Cumulative Delta Tracking – Intraday accumulation to gauge market sentiment.
Delta EMA Trendline – Smooths delta movements for trend confirmation.
Delta Strength Meter – Similar to ADX, showing the momentum behind delta changes.
Volume Spike Detection – Highlights abnormal buying or selling pressure.
Color-Optimized Dark Theme – Bright, contrasting colors for crystal-clear visuals in dark backgrounds.
🔹 Features:
Configurable custom timeframe for volume breakdown.
Delta histogram, line plot, EMA, and strength plots for multiple perspectives.
Dynamic table dashboard showing the last N candles’ buy volume, sell volume, delta, and strength % — with spike highlights and alternating row shading for easy reading.
Abnormal volume alerts for both buy and sell pressure.
Automatic background highlighting for extreme delta strength conditions.
Daily reset for cumulative delta and table data.
📈 How to Use:
Select your preferred lower timeframe (e.g., 1s, 1m) for granular volume analysis.
Adjust Number of Candles for table history depth.
Watch for:
Green delta spikes → Strong buying pressure.
Red delta spikes → Strong selling pressure.
Delta EMA crossover or divergence from delta plot → Momentum shifts.
High Strength % → Trend conviction.
💡 Best For:
Scalpers and day traders looking for real-time order flow insights.
Volume profile and delta traders needing lower timeframe confirmation.
Anyone trading in dark chart themes who wants maximum visual clarity.
kaka-Buff横盘系统与CVD和LVP
作用:此指标用于识别市场横盘(震荡)区间,检测累积成交量差额(CVD)背离(基于分形和参考方法),并标记基于大成交量K线的关键价格水平(Large Volume Price, LVP)。它通过结合横盘信号、成交量背离和关键价格水平,帮助交易者识别潜在的趋势反转或延续。指标还绘制可自定义的指数移动平均线(EMA)以辅助趋势分析。主要功能:横盘检测:使用EMA标准差(STD)、平均真实波幅(ATR)、平均方向指数(ADX)和布林带宽度(BB宽度)识别低波动性的横盘区间。
分形CVD背离:通过分形枢轴点和成交量差额计算,检测看涨(“+RD”)和看跌(“-RD”)背离,以标签形式显示在图表上。
参考CVD背离:在成交量分布区域(VAH、VAL、POC)内识别简单的CVD背离(基于价格和成交量差额高/低点),以绿色/红色三角形显示。
大成交量价格(LVP):在回看周期(可自主设置长度)内标记最大成交量K线的最高/最低价,绘制线和标签,指示关键支撑/阻力位。
EMA线:绘制20、50、100和200周期的EMA,带开关控制和可自定义颜色,用于趋势可视化。
表格:以可自定义的表格(字体大小/颜色均可调节)显示横盘指标(EMA STD、ATR、ADX、BB宽度)和整体横盘状态。
警报:提供横盘进入/退出、分形CVD背离、参考CVD背离和LVP价格突破的警报。
Consolidation System with CVD and LVP
Purpose: This indicator identifies market consolidation zones, detects Cumulative Volume Delta (CVD) divergences (both fractal-based and reference-based), and marks significant price levels based on large volume bars (Large Volume Price, LVP). It helps traders identify potential trend reversals or continuations by combining consolidation signals, volume-based divergence, and key price levels. The indicator also plots customizable Exponential Moving Averages (EMAs) to aid in trend analysis.Key Features:Consolidation Detection: Uses EMA Standard Deviation (STD), Average True Range (ATR), Average Directional Index (ADX), and Bollinger Bands (BB) width to identify low-volatility consolidation zones.
Fractal CVD Divergence: Detects bullish ("+RD") and bearish ("-RD") divergences using fractal pivot points and a volume delta calculation, displayed as labels on the chart.
Reference CVD Divergence: Identifies simpler CVD divergences (based on price and volume delta highs/lows) within volume profile zones (VAH, VAL, POC), shown as green/red triangles.
Large Volume Price (LVP): Marks the high/low of the highest volume bar within a lookback period with lines and labels, indicating key support/resistance levels.
EMA Lines: Plots EMA 20, 50, 100, and 200 with toggle switches and customizable colors for trend visualization.
Table: Displays consolidation metrics (EMA STD, ATR, ADX, BB width) and overall consolidation status in a customizable table.
Alerts: Provides alerts for consolidation entry/exit, fractal CVD divergences, reference CVD divergences, and LVP price crossings.
[MAD] FVG with LTF-POC/TPOOverview
The Fair Value Gap (FVG) Detector is a precision tool designed to automatically identify, draw, and track market inefficiencies. These gaps, also known as imbalances, often act as powerful magnets for future price action.
This indicator handles the entire lifecycle of an FVG: from its creation and extension, to the moment it is first touched, and through its entire mitigation process. To add an even deeper layer of analysis, it can now optionally plot two types of micro-analysis lines for the middle candle of the FVG pattern: a volume-based Point of Control (LTF-POC) and a time-based Time Price Opportunity (LTF-TPO). These high-precision lines pinpoint the most significant price levels within the imbalance itself.
By providing a clean and objective visualization of these critical price zones, the FVG Detector gives traders a clear framework for spotting high-probability setups and understanding how the market returns to areas of inefficiency to become balanced once again.
█ How It Works
The indicator’s logic is built on precise detection, dynamic visualization, and intelligent state tracking to provide a comprehensive view of market imbalances.
⚪ The FVG Detection Engine
At its core, the indicator uses a classic three-candle pattern to identify FVGs. This mechanical definition removes all subjectivity:
Bullish FVG: A gap is identified when the high of the first candle is lower than the low of the third candle. The space between these two prices creates the bullish FVG.
Bearish FVG: A gap is identified when the low of the first candle is higher than the high of the third candle. The space between these two prices creates the bearish FVG.
⚪ Dynamic Drawing and Mitigation
Once an FVG is detected, the indicator automatically draws a colored box to represent the gap. This box is then managed through its entire lifecycle:
Extension: If enabled, the FVG box extends forward in time with each new candle, acting as a visible, forward-looking zone of interest.
Partial Mitigation Trigger: The moment price first "touches" the gap, the box changes color to signal that it is no longer a fresh, unmitigated zone. The statistics table counts this as a "Partially Mitigated" event.
Shrinking FVG: As price moves further into the gap, the colored box dynamically shrinks, providing a real-time visual of how much of the imbalance has been filled.
Historical Outline: An optional secondary outline box is drawn to preserve the FVG's original size. This outline stops extending when the FVG is first touched, leaving a permanent historical marker.
⚪ Optional LTF Analysis for Added Precision
The indicator can look "inside" the FVG's middle candle to find its most significant price levels.
LTF-POC (Volume-Based): Using data from a lower timeframe, it analyzes the volume profile of the FVG-creating candle to find the single price level from the lower-timeframe bar with the highest trading volume.
LTF-TPO (Time-Based): It also identifies the Time Price Opportunity by dividing the candle's price range into distinct "bins." The script counts how many lower-timeframe price ticks occurred in each bin, and the TPO line is drawn at the center of the busiest bin.
Visual Confluence: These are drawn as distinct horizontal lines (defaulting to orange for POC and yellow for TPO) that extend and are managed alongside the FVG's historical outline, serving as precise levels of interest within the broader FVG zone.
█ Why This Indicator is Different
While many traders can spot FVGs manually, this indicator offers a significant edge through the possibility of the lowertimeframe analysis and showing the syntetic TPO or POCs for the relevant candles.
⚪ Automated and Objective
The market moves fast, and manually drawing FVGs is impractical and prone to error. This tool automates the entire process.
Never Miss a Gap: The detector impartially scans every three-candle sequence, ensuring no FVG is missed.
No Subjectivity: The rules for detection, mitigation, and LTF analysis are based on fixed mathematical models, removing subjective judgment.
Multi-Timeframe Clarity: The indicator works flawlessly on any timeframe, allowing you to maintain a consistent view of market structure.
⚪ Visualizing Market Memory
This tool does more than just draw boxes; it tells a story. Watching a box change color and shrink provides a visual of market dynamics in action. The optional historical outlines and LTF analysis lines build a "map" on your chart, showing where significant reactions and high-liquidity zones occurred in the past, which provides invaluable context for future price movements.
█ How to Use
⚪ Identifying High-Probability Zones
The primary use of the FVG Detector is to identify high-probability zones where price may react.
Entries: Unmitigated (fresh) FVGs can serve as powerful entry zones. Traders may look for price to return to a bullish FVG to take a long position, or to a bearish FVG to take a short position.
Targets: An FVG in your path can also act as a logical profit target. For example, if you are in a long position, you might take profit as price fills a nearby bearish FVG above you.
⚪ Confluence and Confirmation
FVGs are most powerful when they align with other forms of technical analysis. Look for FVGs that have "confluence" with:
Market Structure: A bullish FVG found at a key support level or after a bullish break of structure is a higher-probability setup.
Order Blocks: An FVG that overlaps with a bullish or bearish order block creates a very potent point of interest.
Premium/Discount Zones: FVGs found deep in a premium (for shorts) or discount (for longs) area of a trading range often yield strong reactions.
The LTF Lines (POC & TPO): Use these lines as a source of internal confluence. While the FVG gives you a zone, the POC and TPO give you precise levels within that zone. The POC shows where the highest volume was traded, while the TPO shows where price spent the most time. Confluence between these two lines can signal an extremely strong level.
█ Settings
Max Number of FVGs to Display: Controls how many active FVGs are kept on the chart to prevent clutter and maintain performance.
Extend Unmitigated FVGs: When enabled, FVG boxes will extend to the right until price touches them.
Show Bullish/Bearish FVGs: Toggles the visibility of bullish or bearish FVGs.
Show FVG Labels: Toggles the visibility of the "FVG" text labels.
Keep Mitigated Outlines: If checked, the historical outline box (and its associated POC/TPO lines) will remain on the chart even after the FVG is completely filled.
Show Statistics: Toggles the visibility of the statistics table, which tracks total, partly mitigated, and fully mitigated FVGs.
Show LTF-TPO (Time-Based): Toggles the calculation and display of the Time Price Opportunity line.
Show LTF-POC (Volume-Based): Toggles the calculation and display of the Point of Control line.
Use Custom LTF for Analysis: Check this to manually select a timeframe for the POC/TPO calculation. If unchecked, the script auto-selects a lower timeframe.
Lower Timeframe: The specific lower timeframe to use when the "Custom LTF" box is checked.
Magnifier (Bars per Slice): Controls how the script auto-selects a lower timeframe (higher number = lower timeframe). Only active when "Custom LTF" is unchecked.
█ The Logic Explained
This indicator uses a clear, rules-based system based on mathematical and conditional principles.
The 3-Candle FVG Pattern
The detection engine precisely identifies FVGs by comparing the price extremes of a three-candle sequence. For a bullish FVG, it confirms that the high of the first candle is strictly below the low of the third candle. For a bearish FVG, the low of the first candle must be strictly above the high of the third. This leaves an objective, unfilled gap in the market.
The Mitigation and Shrinking Process
Once an FVG is created, the indicator monitors it on every subsequent bar. The moment a candle's price action enters the FVG's zone, it's flagged as "partially mitigated," and its color changes. The script then continues to track how far price pushes into the gap, dynamically shrinking the box to visually represent the remaining imbalance.
Lower-Timeframe (LTF) Analysis Explained
To add precision, the indicator performs a micro-analysis of the middle candle of the FVG pattern. This is achieved by mathematically deconstructing that single candle using data from a smaller timeframe.
The lower timeframe is determined either manually or automatically via the Magnifier. The Magnifier works by dividing the chart's current timeframe. For example, on a 60-minute chart, a Magnifier of 60 tells the indicator to perform its analysis using 1-minute data (60÷60=1).
Once the LTF data is obtained, two calculations are performed:
LTF Point of Control (Volume-Based): This method seeks the price of maximum commitment. The indicator analyzes the volume of every single lower-timeframe bar within the main candle and identifies the one bar with the highest trading volume. The closing price of that specific high-volume bar is designated as the POC.
LTF Time Price Opportunity (Time-Based): This method finds the price where the market spent the most time trading. The process is a form of price distribution analysis:
The total price range (high to low) of the main candle is measured.
This range is divided into 40 equal price zones, or "bins". For a candle with a $2 range, each bin would represent a price slice of 5 cents
The indicator then counts how many of the lower-timeframe closing prices fall within each of the 40 bins.
The TPO line is drawn at the midpoint of the single bin that contained the most prices, representing the "busiest" price level.
Time-Based Drawing for Accuracy
To ensure perfect alignment across all historical data and chart reloads, all drawings are anchored to the precise timestamp of the bar, not its sequential position on the chart. This robust method guarantees that all zones remain fixed and accurate regardless of how much historical data is loaded.
█ Disclaimer
Investors are fully responsible for any investment decisions they make.
Have fun trading :-)
Volatility HistogramCandle Size vs Volume Ratios — Interpretation & Trading Guide
1. Understanding the Ratios
Ratio 1 (Range/Volume): top histogram
Represents the candle's price range divided by the volume.
High values mean large price movement with relatively low volume.
Typically signals less conviction, possible consolidation or fake moves.
Ratio 2 (Volume/Range): bottom histogram
Represents the volume divided by the candle range.
High values mean high volume for the given price movement.
Usually indicates strong market participation and trend strength.
Negative sign often used in plots to separate it visually from Ratio 1.
2. Role of Moving Averages (MAs)
Moving averages smooth the ratios to reduce noise and highlight trend changes.
MA of Ratio 2 often leads the market movement, especially in the morning session.
MA of Ratio 1 tends to lag, confirming trend direction later in the day.
The divergence between the MAs (distance between them) indicates increasing
momentum.
Flat or converging MAs signal consolidation or low market conviction.
3. Interpreting the Relationship and Market Behavior
When Ratio 2 MA moves first and starts diverging from Ratio 1 MA, expect a
potential initiation of trend.
Ratio 1 rising while Ratio 2 remains low often signals consolidation or indecision.
High Ratio 1 with low volume suggests fake breakouts or traps.
High Ratio 2 with stable or rising price indicates strong trend and volume support.
The spread between MAs can be used as a momentum gauge.
Outside main trading hours, ratios oscillate and MAs remain flat, reflecting low
liquidity.
4. Practical Trading Tips
Use early movement in Ratio 2 MA (e.g., 8:15–9:00 AM) as a signal for upcoming
volatility.
Confirm trends later with Ratio 1 MA movement (usually 10:30–11:00 AM).
Watch for periods of high volume but flat ratios as signs of
accumulation/absorption.
Beware of high Ratio 1 values indicating potential consolidation or fake moves.
Use the spread between MAs to assess trend strength and decide entry or exit.
Combine this oscillator with price action and volume profile for best results.
5. Summary
Ratio 1 and Ratio 2 ratios combined with their moving averages offer a powerful
way to interpret price and volume interplay. Their leading-lagging behavior helps
traders anticipate volatility and confirm trends. Proper normalization and visual
scaling are essential for clear interpretation. Use these tools together to improve
timing and reduce false signals in your trading
Volume MA Breakout T3 [Teyo69]🧭 Overview
Volume MA Breakout T3 highlights volume bars that exceed a dynamic moving average threshold. It helps traders visually identify volume breakouts—periods of significant buying or selling pressure—based on user-selected MA methods (SMA, EMA, DEMA).
🔍 Features
Volume Highlighting: Green bars indicate volume breakout above the MA; red bars otherwise.
Custom MA Options: Choose between SMA, EMA, or Double EMA for volume smoothing.
Dynamic Threshold: The moving average line adjusts based on user-defined length and method.
⚙️ Configuration
Length: Number of bars used for the moving average calculation (default: 14).
Method: Type of moving average to use:
"SMA" - Simple Moving Average
"EMA" - Exponential Moving Average
"Double EMA" - Double Exponential Moving Average
📈 How to Use
Apply to any chart to visualize volume behavior relative to its MA.
Look for green bars: These suggest volume is breaking out above its recent average—potential signal of momentum.
Red bars indicate normal/subdued volume.
⚠️ Limitations
Does not provide directional bias—use with price action or trend confirmation tools.
Works best with additional context (e.g., support/resistance, candle formations).
🧠 Advanced Tips
Use shorter MAs (e.g., 5–10) in volatile markets for more responsive signals.
Combine with OBV, MFI, or accumulation indicators for confluence.
📌 Notes
This is a volume-based filter, not a signal generator.
Useful for breakout traders and volume profile enthusiasts.
📜 Disclaimer
This script is for educational purposes only. Always test in a simulated environment before live trading. Not financial advice.
Liquidity Trap Zones [PhenLabs]📊 Liquidity Trap Zones
Version: PineScript™ v6
📌 Description
The goal of the Liquidity Trap Zones indicator is to try and help traders identify areas where market liquidity appears abundant but is actually thin or artificial, helping traders avoid potential fake outs and false breakouts. This advanced indicator analyzes the relationship between price wicks and volume to detect “mirage” zones where large price movements occur on low volume, indicating potential liquidity traps.
By highlighting these deceptive zones on your charts, the indicator helps traders recognize where institutional players might be creating artificial liquidity to trap retail traders. This enables more informed decision-making and better risk management when approaching key price levels.
🚀 Points of Innovation
Mirage Score Algorithm: Proprietary calculation that normalizes wick size relative to volume and average bar size
Dynamic Zone Creation: Automatically generates gradient-filled zones at trap locations with ATR-based sizing
Intelligent Zone Management: Maintains clean charts by limiting displayed zones and auto-updating existing ones
Scale-Invariant Design: Works across all assets and timeframes with intelligent normalization
Real-Time Detection: Identifies trap zones as they form, not after the fact
Volume-Adjusted Analysis: Incorporates tick volume when available for more accurate detection
🔧 Core Components
Mirage Score Calculator: Analyzes the ratio of price wicks to volume, normalized by average bar size
ATR-Based Filter: Ensures only significant price movements are considered for trap zone creation
EMA Smoothing: Reduces noise in the mirage score for clearer signals
Gradient Zone Renderer: Creates visually distinct zones with multiple opacity levels for better visibility
🔥 Key Features
Real-Time Trap Detection: Identifies liquidity mirages as they develop during live trading
Dynamic Zone Sizing: Adjusts zone height based on current market volatility (ATR)
Smart Zone Management: Automatically maintains a clean chart by limiting the number of displayed zones
Customizable Sensitivity: Fine-tune detection parameters for different market conditions
Visual Clarity: Gradient-filled zones with distinct borders for easy identification
Status Line Display: Shows current mirage score and threshold for quick reference
🎨 Visualization
Gradient Trap Zones: Purple gradient boxes with darker centers indicating trap strength
Mirage Score Line: Orange line in status area showing current liquidity quality
Threshold Reference: Gray line showing your configured detection threshold
Extended Zone Display: Zones automatically extend forward as new bars form
📖 Usage Guidelines
Detection Settings
Smoothing Length (EMA) - Default: 10 - Range: 1-50 - Description: Controls responsiveness of mirage score. Lower values make detection more sensitive to recent price action
Mirage Threshold - Default: 5.0 - Range: 0.1-20.0 - Description: Score above this level triggers trap zone creation. Higher values reduce false positives but may miss subtle traps
Filter Settings
ATR Length for Range Filter - Default: 14 - Range: 1-50 - Description: Period for volatility calculation. Standard 14 works well for most timeframes
ATR Multiplier - Default: 1.0 - Range: 0.0-5.0 - Description: Minimum bar range as multiple of ATR. Higher values filter out smaller moves
Display Settings
Zone Height Multiplier - Default: 0.5 - Range: 0.1-2.0 - Description: Controls trap zone height relative to ATR. Adjust for visual preference
Max Trap Zones - Default: 5 - Range: 1-20 - Description: Maximum zones displayed before oldest are removed. Balance clarity vs. history
✅ Best Use Cases
Identifying potential fakeout levels before entering trades
Confirming support/resistance quality by checking for liquidity traps
Avoiding stop-loss placement in trap zones where sweeps are likely
Timing entries after trap zones are cleared
Scalping opportunities when price approaches known trap zones
⚠️ Limitations
Requires volume data - less effective on instruments without reliable volume
May generate false signals during news events or genuine volume spikes
Not a standalone system - combine with price action and other indicators
Zone creation is based on historical data - future price behavior not guaranteed
💡 What Makes This Unique
First indicator to specifically target liquidity mirages using wick-to-volume analysis
Proprietary normalization ensures consistent performance across all markets
Visual gradient design makes trap zones immediately recognizable
Combines multiple volatility and volume metrics for robust detection
🔬 How It Works
1. Wick Analysis: Calculates upper and lower wicks for each bar. Normalizes by average bar size to ensure scale independence
2. Mirage Score Calculation: Divides total wick size by volume to identify thin liquidity. Applies EMA smoothing to reduce noise. Scales result for optimal visibility
3. Zone Creation: Triggers when smoothed score crosses threshold. Creates gradient boxes centered on trap bar. Sizes zones based on current ATR for market-appropriate scaling
💡 Note: Liquidity Trap Zones works best when combined with traditional support/resistance analysis and volume profile indicators. The zones highlight areas of deceptive liquidity but should not be the sole factor in trading decisions. Always use proper risk management and confirm signals with price action.
TRAPPER Volume Trigger + SMAs + Buy/Sell SplitThe TRAPPER TRIGGER is a precision-based volume spike indicator designed for intraday traders, scalpers, and swing traders who rely on key volume activity to anticipate sharp market movements. It operates on volume delta logic, detecting disproportionate buying or selling activity that signifies potential market reversals or breakouts.
How It Works:
Volume Spike Logic (Delta-Based)
The script calculates a dynamic volume threshold using a moving average of historical volume data.
It identifies a delta spike by comparing current volume against this threshold—when volume exceeds it significantly, it suggests abnormal activity.
If the candle closes higher than it opens (bullish), the script registers it as a Buy Spike ⚖️.
If the candle closes lower than it opens (bearish), it marks a Sell Spike 🏁.
These are not based on the candle’s body size but the volume differential (delta) between buy/sell pressure inferred from candle direction.
Trigger Labels
Only the most recent buy/sell spike is labeled for clarity, avoiding clutter.
Labels are color-coded to match the candle body (e.g., bright green for bullish, magenta for bearish).
Label style: ⚖️ for Buy Spikes, 🏁 for Sell Spikes.
SMA Suite (Fully Customizable):
Six SMAs: 5 (yellow), 10 (blue), 20 (green), 50 (orange), 100 (red), 200 (white).
Each can be toggled and customized in the script settings for visibility and styling.
Key Benefits
Clean, minimalistic charting — focuses only on high-probability events.
Provides delta-driven insights without requiring access to full L2 order book data.
Works across any timeframe — logic recalculates and resets zones per timeframe switch.
Designed for sniper-style entries—ideal for traders who prefer minimal noise and maximum signal clarity.
Easily extendable with SR zones, AVWAP, liquidity levels, or alerts if desired in future updates.
Who It’s For
Scalpers and intraday traders looking for clean triggers.
Swing traders wanting confirmation of institutional moves.
Volume profile enthusiasts who need a trigger alert system.
Developers who want a base volume framework to build more advanced tools on.
Disclaimer
This script is provided as-is and is intended for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any security or asset.
All trading involves risk. Users should perform their own due diligence and consult with a qualified financial advisor before making any trading decisions. The author of this script assumes no liability for any losses or damages arising from the use or reliance on this tool.
By using this script, you acknowledge and agree that you are solely responsible for your own trading decisions and outcomes.
LTF Volume markerLTF Volume Marker
Overview:
The LTF Volume Marker highlights candles that contain volume spikes on a lower timeframe (LTF), even while you are viewing a higher timeframe chart. It is designed to help identify hidden volume activity that may not be visible when aggregating candles.
This indicator is conceptually similar to a volume profile — but instead of showing distribution across price levels, it visualizes volume clusters within the structure of a sloped trend or time-based aggregation.
Key Features:
✅ Automatically detects high-volume candles on a user-defined lower timeframe
✅ Marks the price level of volume spikes using weighted average price (VWAP) within higher timeframe bars
✅ Supports both manual threshold and auto mode (which highlights top X% of volume candles in a selected range)
✅ Fully adjustable timeframe and date range
✅ Displays either a point or an area at the spike location or together
How It Works:
You define a Lower Timeframe (e.g. 1-minute) and optionally a threshold or use the auto mode to dynamically calculate it from past data.
On higher timeframes (e.g. 5-min, 15-min), the indicator looks inside each bar, finds all volume spikes, and plots the volume-weighted average price of those spikes.
If you are on the same timeframe as the LTF, it simply highlights candles with volume exceeding the threshold.
Use Cases:
Spotting hidden volume clusters inside trending moves
Validating support/resistance levels with underlying volume
Filtering false breakouts using intra-bar volume
Enhancing scalping and intraday setups by visualizing internal structure
Notes:
The indicator ignores future-looking data (lookahead=off) and only processes completed bars.
If the chart’s timeframe is lower than the selected LTF, the indicator will automatically disable itself.
Works best with aggregated symbols, such as futures or cryptocurrencies with high resolution data.
Delta AO + Regular AO (Normalized)🔀 Delta AO + Regular AO (Normalized) – Visualizing Market moods becomes simpler 🔀
🧠 Introduction
The Delta AO + Regular AO (Normalized) is a custom oscillator that fuses the power of classic momentum analysis with volume-derived delta flow to give traders a dual-perspective edge.
This tool was born from a need to better visualize internal market thrust (via delta) while still respecting the time-tested signal power of the traditional Awesome Oscillator (AO).
🔍 What makes it unique?
✅ Volume-based Delta Calculation – Models upward/downward delta using a custom volatility-weighted volume allocation method, not simple tick-delta or raw buys/sells.
✅ Cumulative Delta Candles – Instead of just plotting bars, the indicator rebuilds the market structure using cumulative delta logic.
✅ Dual AO Display – Shows both custom delta AO and traditional price AO simultaneously.
✅ Normalized Scaling – Each AO is independently normalized by its standard deviation (volatility-adjusted), making both indicators visually comparable without distortion.
🧮 Under the Hood
Let’s break down the components:
1. Delta Logic 📊
Rather than using raw delta or tick-level data, this script simulates net effort:
Delta Up = Volume × a smart weighting when the candle is bullish
Delta Down = Volume × weighting when the candle is bearish
The weighting dynamically adjusts based on candle body-to-wick ratio. This provides a more refined delta estimate based on candle structure.
This delta is accumulated (cumulative delta) and used to form a synthetic OHLC candle structure.
2. AO Calculations ⚖️
Custom AO: Calculated from the median of synthetic delta candles
Regular AO: Classic (median price 5-period SMA - 34-period SMA)
Both are normalized using their own 34-bar standard deviation, improving comparability and visualization in one pane.
3. Color Coding 🎨
For the delta AO histogram:
Lime: Bullish + Increasing Momentum
Green: Bullish + Weakening Momentum
Red: Bearish + Increasing Momentum (to the downside)
Maroon: Bearish + Weakening Momentum
This lets you immediately spot momentum shifts and strength behind volume-based moves.
📈 How to Use – Trading Guide
🔧 Recommended Setup:
Timeframe: Works well on all intraday and higher timeframes (5m–1D)
Symbol: Especially effective on liquid instruments (futures, indices, large caps)
✅ Entry Signals
🔹 Buy Setup
Delta AO turns green or lime above zero, and Regular AO is also rising
Ideal confirmation: Lime bar (strong bullish delta momentum) and a crossover above zero
🔹 Sell Setup
Delta AO turns maroon or red below zero, and Regular AO is also falling
Ideal confirmation: Red bar (strong bearish delta momentum) and AO falling further below zero
🔄 Momentum Confirmation
Look for divergence between the Delta AO and Regular AO.
🔼 If Delta AO is rising but Regular AO is flat or falling → Volume is leading price (possible breakout ahead)
🔽 If Regular AO is strong but Delta AO fades → Price may be unsustainable (fakeout risk)
🛑 Exit / Reversal Clues
Sudden color shifts (e.g., Lime → Green → Maroon) can signal momentum exhaustion
Both AOs converging to zero suggests consolidation phase ahead
📌 Pro Tips
Use this with volume profile, support/resistance, or market structure zones for maximum confluence
Works great as a secondary confirmation tool for your existing strategy
💬 Final Thoughts
This oscillator is not just a pretty double AO — it's a strategic fusion of price and volume time-series designed to help you anticipate shifts before they’re obvious in price alone.
If you're looking for:
A modernized AO
Volume-integrated signal clarity
Normalized, noise-filtered momentum visual
Then this tool belongs in your chart arsenal.
📈 Try it. Test it. Pair it. If you find value, consider sharing or following for more next-gen indicators.
Please note this is an educational idea and past performance is not assurance of future performance.
Happy trading!
— @Pratik_4Clover
CANDLE SCRUTINY | GSK-VIZAG-AP-INDIAIndicator: CANDLE SCRUTINY | GSK-VIZAG-AP-INDIA
1. Overview
The CANDLE SCRUTINY indicator is a candle-by-candle analytical tool designed to dissect and visually represent the behavior of recent candles on a chart. It presents a concise table overlay that summarizes critical candlestick data including price movement, directional trend, volume dynamics, and strength of price sequences — all updated in real time.
2. Purpose / Trading Use Case
This tool is ideal for:
Scalpers and intraday traders needing quick real-time candle insights.
Trend analyzers who want to observe evolving price momentum.
Volume-based decision makers monitoring buyer-seller imbalance.
Traders who scrutinize candles for confirmations before entries or exits.
3. Key Features & Logic Breakdown
Candle Classification: Each candle is categorized as Bullish, Bearish, or Doji based on open-close comparison.
Move Calculation: Calculates and displays net candle move (Close - Open) for each bar.
Trend Count: Tracks the number of consecutive candles of the same type (bullish or bearish).
Sequential Move (Total SM): Aggregates move values when candles of the same type form a sequence.
Volume Breakdown: Approximates buy/sell volume ratio using candle type logic.
Delta Volume: Measures buy-sell imbalance to gauge intrabar strength.
Time Localization: Candle timestamps are shown in the user-selected timezone.
4. User Inputs / Settings
Number of Candles (numCandles): Choose how many recent candles to analyze (1–10).
Table Position (tablePos): Set to top_right by default.
Timezone Selector (tzOption): Choose from multiple global timezones (e.g., IST, UTC, NY, London) to view local candle times.
These settings let traders customize the scope and perspective of candle analysis to fit their trading region and strategy focus.
5. Visual & Plotting Elements
A floating data table appears on the chart (top-right by default), showing:
Time of candle (localized)
Type (Bullish/Bearish/Doji)
Move value with green/red background
Total SM (sequential movement) with trend-based color shading
Trend Count
Buy Volume, Sell Volume, Total Volume
Delta (volume imbalance) with color-coded strength indicator
Color coding makes it visually intuitive to quickly assess strength, direction, and sequence.
6. Effective Usage Tips
Use in 1-minute to 15-minute timeframes for scalping or momentum breakout confirmation.
Monitor Delta and Sequential Move (SM) to confirm strength behind price action.
Trend Count helps gauge sustained direction—useful for short-term trend continuation strategies.
Combine with support/resistance zones or volume profile for stronger confluence.
Great for detecting early signs of exhaustion or continuation.
7. What Makes It Unique
Combines price action + volume behavior + trend memory into one compact visual table.
Allows user-defined timezone adjustment, a rare feature in similar indicators.
Designed to give a story of the last N candles from a momentum and participation viewpoint.
Fully non-intrusive overlay—doesn't clutter chart space.
8. Alerts / Additional Features
Currently no alerts, but future versions may include:
Alert when trend count exceeds a threshold
Alert on strong delta volume shifts
Alert on back-to-back Dojis (sign of indecision)
9. Technical Concepts Used
Candlestick Logic: Bullish, Bearish, Doji classification
Volume Analysis: Approximate buy/sell split based on candle type
Color Coding: For intuitive interpretation of move, trend, and delta
Arrays & Looping Logic: Efficient tracking of trends and sequences
Timezone Handling: Uses hour(time, timezone) and minute(time, timezone) for local display
10. Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial advice. Always backtest thoroughly and use appropriate risk management when applying this or any indicator in live markets. The author is not responsible for any financial losses incurred.
VPSRVP Sovereign Reign (VPSR) - Advanced Volume Profile Analysis
A sophisticated volume analysis tool that provides deep insights into market participation and momentum through an intuitive visual interface. This indicator helps traders identify significant market moves, potential reversals, and institutional activity.
Key Features:
1. Smart Volume Analysis
• Dynamic volume profiling
• Institutional participation detection
• Abnormal volume identification
• Real-time momentum tracking
2. Advanced Visual System
• Color-coded volume bars
• Adaptive cloud formation
• Reversal pattern detection
• Fake-out warning system
Visual Components:
1. Volume Bars
• Green: Bullish pressure with normal volume
• Purple: Bearish pressure with normal volume
• White: Significant bullish participation
• Pink: Significant bearish participation
• Orange: High-probability reversal zones
2. Dynamic Cloud
• White Cloud: Bullish control zone
• Purple Cloud: Bearish control zone
• Cloud density indicates participation strength
• Adaptive to market conditions
Signal Interpretation:
1. Normal Market Conditions
• Green/Purple bars show directional pressure
• Cloud color indicates dominant force
• Cloud height shows average participation
2. Significant Events
• White/Pink bars signal major moves
• Orange bars highlight potential reversals
• Cloud expansion shows increasing activity
• Cloud contraction indicates consolidation
Customization Options:
• Volume MA Length: Smoothing factor
• Abnormal Volume Threshold: Sensitivity
• Cloud Display: Toggle visualization
• Color scheme optimization
Best Practices:
1. Multiple Timeframe Analysis
• Start with higher timeframes
• Confirm on lower timeframes
• Watch for confluence
2. Volume Analysis
• Compare to historical levels
• Monitor abnormal spikes
• Track participation trends
3. Trade Management
• Use as confirmation tool
• Wait for clear signals
• Monitor fake-out warnings
• Combine with price action
Trading Applications:
1. Trend Analysis
• Identify strong moves
• Spot weakening trends
• Detect consolidation
2. Reversal Detection
• Spot potential turning points
• Identify fake-outs
• Monitor institutional activity
3. Risk Management
• Volume-based position sizing
• Stop loss placement
• Profit target selection
The VP Sovereign Reign indicator excels at:
• Identifying significant market moves
• Detecting institutional participation
• Warning of potential reversals
• Highlighting fake-outs
• Providing clear market context
Risk Warning:
This indicator is designed as a technical analysis tool and should be used as part of a complete trading strategy. Past performance does not guarantee future results. Always employ proper risk management techniques.
Note: For optimal results, use in conjunction with price action analysis and other complementary indicators.
Dskyz (DAFE) Aurora Divergence - Dskyz (DAFE) Aurora Divergence Indicator
Advanced Divergence Detection for Traders. Unleash the power of divergence trading with this cutting-edge indicator that combines price and volume analysis to spot high-probability reversal signals.
🧠 What Is It?
The Dskyz (DAFE) Aurora Divergence Indicator is designed to identify bullish and bearish divergences between the price trend and the On Balance Volume (OBV) trend. Divergence occurs when the price of an asset and a technical indicator (in this case, OBV) move in opposite directions, signaling a potential reversal. This indicator uses linear regression slopes to calculate the trends of both price and OBV over a specified lookback period, detecting when these two metrics are diverging. When a divergence is detected, it highlights potential reversal points with visually striking aurora bands, orbs, and labels, making it easy for traders to spot key signals.
⚙️ Inputs & How to Use Them
The indicator is highly customizable, with inputs grouped under "⚡ DAFE Aurora Settings" for clarity. Here’s how each input works:
Lookback Period: Determines how many bars are used to calculate the price and OBV slopes. Higher values detect longer-term trends (e.g., 20 for 1H charts), while lower values are more responsive to short-term movements.
Price Slope Threshold: Sets the minimum slope value for the price to be considered in an uptrend or downtrend. A value of 0 allows all slopes to be considered, while higher values filter for stronger trends.
OBV Slope Threshold: Similar to the price slope threshold but for OBV. Helps filter out weak volume trends.
Aurora Band Width: Adjusts the width of the visual bands that highlight divergence areas. Wider bands make the indicator more visible but may clutter the chart.
Divergence Sensitivity: Scales the strength of the divergence signals. Higher values make the indicator more sensitive to smaller divergences.
Minimum Strength: Filters out weak signals by only showing divergences above this strength level. A default of 0.3 is recommended for beginners.
Signal Cooldown (Bars): Prevents multiple signals from appearing too close together. Default is 5 bars, reducing chart clutter and helping traders focus on significant signals.
These inputs allow traders to fine-tune the indicator to match their trading style and timeframe.
🚀 What Makes It Unique?
This indicator stands out with its innovative features:
Price-Volume Divergence: Combines price trend (slope) and OBV trend for more reliable signals than price-only divergences.
Aurora Bands: Dynamic visual bands that highlight divergence zones, making it easier to spot potential reversals at a glance.
Interactive Dashboard: Displays real-time information on trend direction, volume flow, signal type, strength, and recommended actions (e.g., "Consider Buying" or "Consider Selling").
Signal Cooldown: Ensures only the most significant divergences are shown, reducing noise and improving usability.
Alerts: Built-in alerts for both bullish and bearish divergences, allowing traders to stay informed even when not actively monitoring the chart.
Beginner Guide: Explains the indicator’s visuals (e.g., aqua orbs for bullish signals, fuchsia orbs for bearish signals), making it accessible for new users.
🎯 Why It Works
The indicator’s effectiveness lies in its use of price-volume divergence, a well-established concept in technical analysis. When the price trend and OBV trend diverge, it often signals a potential reversal because the underlying volume support (or lack thereof) is not aligning with the price action. For example:
Bullish Divergence: Occurs when the price is making lower lows, but the OBV is making higher lows, indicating weakening selling pressure and potential upward reversal.
Bearish Divergence: Occurs when the price is making higher highs, but the OBV is making lower highs, suggesting weakening buying pressure and potential downward reversal.
The use of linear regression ensures smooth and accurate trend calculations over the specified lookback period. The divergence strength is then normalized and filtered based on user-defined thresholds, ensuring only high-quality signals are displayed. Additionally, the cooldown period prevents signal overload, allowing traders to focus on the most significant opportunities.
🧬 Indicator Recommendation
Best For: Traders looking to identify potential trend reversals in any market, especially those where volume data is reliable (e.g., stocks, futures, forex).
Timeframes: Suitable for all timeframes. Adjust the lookback period accordingly—smaller values for shorter timeframes (e.g., 1H), larger for longer ones (e.g., 4H or daily).
Pair With: Support and resistance levels, trend lines, other oscillators (e.g., RSI, MACD) for confirmation, and volume profile tools for deeper analysis.
Tips:
Look for divergences at key support/resistance levels for higher-probability setups.
Pay attention to signal strength; higher strength divergences are often more reliable.
Use the dashboard to quickly assess market conditions before entering a trade.
Set up alerts to catch divergences even when not actively watching the chart.
🧾 Credit & Acknowledgement
This indicator builds upon the classic concept of price-volume divergence, enhancing it with modern visualization techniques, advanced filtering, and user-friendly features. It is designed to provide traders with a powerful yet intuitive tool for spotting reversals.
📌 Final Thoughts
The Dskyz (DAFE) Aurora Divergence Indicator is more than just a divergence tool; it’s a comprehensive trading assistant that combines advanced calculations, intuitive visualizations, and actionable insights. Whether you’re a seasoned trader or just starting out, this indicator can help you spot high-probability reversal points with confidence.
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
-Dskyz
SMC+The "SMC+" indicator is a comprehensive tool designed to overlay key Smart Money Concepts (SMC) levels, support/resistance zones, order blocks (OB), fair value gaps (FVG), and trap detection on your TradingView chart. It aims to assist traders in identifying potential areas of interest based on price action, swing structures, and volume dynamics across multiple timeframes. This indicator is fully customizable, allowing users to adjust lookback periods, colors, opacity, and sensitivity to suit their trading style.
Key Components and Functionality
1. Key Levels (Support and Resistance)
This section plots horizontal lines representing support and resistance levels based on highs and lows over three distinct lookback periods, plus daily nearest levels.
Short-Term Lookback Period (Default: 20 bars)
Plots the highest high (short_high) and lowest low (short_low) over the specified period.
Visualized as dotted lines with customizable colors (Short-Term Resistance Color, Short-Term Support Color) and opacity (Short-Term Resistance Opacity, Short-Term Support Opacity).
Adjustment Tip: Increase the lookback (e.g., to 30-50) for less frequent but stronger levels on higher timeframes, or decrease (e.g., to 10-15) for scalping on lower timeframes.
Long-Term Lookback Period (Default: 50 bars)
Plots broader support (long_low) and resistance (long_high) levels using a solid line style.
Customizable via Long-Term Resistance Color, Long-Term Support Color, and their respective opacity settings.
Adjustment Tip: Extend to 100-200 bars for swing trading or major trend analysis on daily/weekly charts.
Extra-Long Lookback Period (Default: 100 bars)
Identifies significant historical highs (extra_long_high) and lows (extra_long_low) with dashed lines.
Configurable with Extra-Long Resistance Color, Extra-Long Support Color, and opacity settings.
Adjustment Tip: Use 200-500 bars for monthly charts to capture macro-level key zones.
Daily Nearest Resistance and Support Levels
Dynamically calculates the nearest resistance (daily_res_level) and support (daily_sup_level) based on the current day’s price action relative to historical highs and lows.
Displayed with Daily Resistance Color and Daily Support Color (with opacity options).
Adjustment Tip: Works best on intraday charts (e.g., 15m, 1h) to track daily pivots; combine with volume profile for confirmation.
How It Works: These levels update dynamically as new highs/lows form, providing a visual guide to potential reversal or breakout zones.
2. SMC Inputs (Smart Money Concepts)
This section identifies swing structures, order blocks, fair value gaps, and entry signals based on SMC principles.
SMC Swing Lookback Period (Default: 12 bars)
Defines the period for detecting swing highs (smc_swing_high) and lows (smc_swing_low).
Adjustment Tip: Increase to 20-30 for smoother swings on higher timeframes; reduce to 5-10 for faster signals on lower timeframes.
Minimum Swing Size (%) (Default: 0.5%)
Filters out minor price movements to focus on significant swings.
Adjustment Tip: Raise to 1-2% for volatile markets (e.g., crypto) to avoid noise; lower to 0.2-0.3% for forex pairs with tight ranges.
Order Block Sensitivity (Default: 1.0)
Scales the size of detected order blocks (OBs) for bullish reversal (smc_ob_bull), bearish reversal (smc_ob_bear), and continuation (smc_cont_ob).
Visuals include customizable colors, opacity, border thickness, and blinking effects (e.g., SMC Bullish Reversal OB Color, SMC Bearish Reversal OB Blink Thickness).
Adjustment Tip: Increase to 1.5-2.0 for wider OBs in choppy markets; keep at 1.0 for precision in trending conditions.
Minimum FVG Size (%) (Default: 0.3%)
Sets the minimum gap size for Fair Value Gaps (fvg_high, fvg_low), displayed as boxes with Fair Value Gap Color and FVG Opacity.
Adjustment Tip: Increase to 0.5-1% for larger, more reliable gaps; decrease to 0.1-0.2% for scalping smaller inefficiencies.
How It Works:
Bullish Reversal OB: Detects a bearish candle followed by a bullish break, marking a potential demand zone.
Bearish Reversal OB: Identifies a bullish candle followed by a bearish break, marking a supply zone.
Continuation OB: Spots strong bullish momentum after a prior high, indicating a continuation zone.
FVG: Highlights bullish gaps where price may retrace to fill.
Entry Signals: Plots triangles (SMC Long Entry) when price retests an OB with a liquidity sweep or break of structure (BOS).
3. Trap Inputs
This section detects potential bull and bear traps based on price action, volume, and key level rejections.
Min Down Move for Bear Trap (%) (Default: 1.0%)
Sets the minimum drop required after a bearish OB to qualify as a trap.
Visualized with Bear Trap Color, Bear Trap Opacity, and blinking borders.
Adjustment Tip: Increase to 2-3% for stronger traps in trending markets; lower to 0.5% for ranging conditions.
Min Up Move for Bull Trap (%) (Default: 1.0%)
Sets the minimum rise required after a bullish OB to flag a trap.
Customizable with Bull Trap Color, Bull Trap Border Thickness, etc.
Adjustment Tip: Adjust similarly to bear traps based on market volatility.
Volume Lookback for Traps (Default: 5 bars)
Compares current volume to a moving average (avg_volume) to filter low-volume traps.
Adjustment Tip: Increase to 10-20 for confirmation on higher timeframes; reduce to 3 for intraday sensitivity.
How It Works:
Bear Trap: Triggers when price drops significantly after a bearish OB but reverses up with low volume or support rejection.
Bull Trap: Activates when price rises after a bullish OB but fails with low volume or resistance rejection.
Boxes highlight trap zones, resetting when price breaks out.
4. Visual Customization
Line Width (Default: 2)
Adjusts thickness of support/resistance lines.
Tip: Increase to 3-4 for visibility on cluttered charts.
Blink On (Default: Close)
Sets whether OB/FVG borders blink based on Open or Close price interaction.
Tip: Use "Open" for intraday precision; "Close" for confirmed reactions.
Colors and Opacity: Each element (OBs, FVGs, traps, key levels) has customizable colors, opacity (0-100), border thickness (1-5 or 1-7), and blink effects for dynamic visualization.
How to Use SMC+
Setup: Apply the indicator to any chart and adjust inputs based on your timeframe and market.
Key Levels: Watch for price reactions at short, long, extra-long, or daily levels for potential reversals or breakouts.
SMC Signals: Look for entry signals (triangles) near OBs or FVGs, confirmed by liquidity sweeps or BOS.
Traps: Avoid false breakouts by monitoring trap boxes, especially near key levels with low volume.
Notes:
This indicator is a visual aid and does not guarantee trading success. Combine it with other analysis tools and risk management strategies.
Performance may vary across markets and timeframes; test settings thoroughly before use.
For optimal results, experiment with lookback periods and sensitivity settings to match your trading style.
The default settings are optimal for 1 minute and 10 second time frames for small cap low float stocks.
Continuation OB are Blue.
Bullish Reversal OB color is Green
Bearish Reversal OB color is Red
FVG color is purple
Bear Trap OB is red with a green border and often appears with a Bearish Reversal OB signaling caution to a short position.
Bull trap OB is green with a Red border signaling caution to a long position.
All active OB area are highlighted and solid in color while other non active OB area are dimmed.
My personal favorite setups are when we have an active bullish reversal with an active FVG along with an active Continuation OB.
Another personal favorite is the Bearish reversal OB signaling an end to a recent uptrend.
The Trap OB detection are also a unique and Original helpful source of information.
The OB have a white boarder by default that are colored black giving a simulated blinking effect when price is acting in that zone.
The Trap OB border are colored with respect to direction of intended trap, all of which can be customized to personal style.
All vaild OB zones are shown compact in size ,a unique and original view until its no longer valid.
NIFTY VWAP DistanceNIFTY Futures VWAP Distance Indicator
Track price deviation from Volume-Weighted Average Price in real-time
📈 Key Features:
Measures absolute (points) and percentage distance from VWAP
Daily session reset aligned with NSE trading hours
Dual-axis visualization with clear zero reference line
Real-time data table display for instant analysis
Typical price calculation: (H+L+C)/3 formula
Built-in safeguards against division errors
🎯 Ideal For:
Intraday traders monitoring mean reversion opportunities
Algorithmic traders needing VWAP deviation metrics
Swing traders identifying overextended price moves
Market profile analysts studying auction theory
📊 How to Use:
Apply to NIFTY Futures chart (1m-1h timeframes recommended)
Blue line = Points above/below VWAP
Red line = Percentage deviation
Positive values = Price > VWAP (bullish territory)
Negative values = Price < VWAP (bearish territory)
💡 Pro Tips:
Combine with volume profile for confirmation
Watch for >1% deviations for potential reversals
Use divergence patterns for early trend change signals
Works best with raw futures data (not continuous contracts)
🔧 Technical Specs:
Pine Script v5+
No repainting
Low latency calculations
Mobile-friendly display
"Know when price strays too far from fair value"
Indiq 2.0The functionality of the indicator includes the following features:
Moving Averages (MA):
The ability to adjust periods for short (short_ma_length) and long (long_ma_length) moving averages.
Display of moving averages on the chart:
Short MA (blue line).
Long MA (red line).
Generation of buy and sell signals:
Buy (BUY): When the short MA crosses the long MA from below.
Sell (SELL): When the short MA crosses the long MA from above.
Visualization of signals on the chart:
Buy is displayed as a green BUY marker below the candle.
Sell is displayed as a red SELL marker above the candle.
Liquidity Heatmap:
Liquidity levels:
Levels are calculated based on the closing price and a step (liquidity_step).
Levels are grouped by the nearest price values.
Volumes at levels:
Volume (volume) is accumulated for each liquidity level.
Levels with a volume less than min_volume_filter are not displayed.
Time filtering:
Levels that have not been updated within the last time_filter bars are not displayed.
Volatility filtering:
Levels are filtered by volatility (ATR) to exclude those outside the volatility range.
Color gradient:
The color of levels depends on volume (gradient from gradient_start_color to gradient_end_color).
Visualization:
Liquidity levels are displayed as horizontal lines.
Volumes at levels are shown as text labels.
RSI Filtering:
The ability to enable/disable RSI filtering (rsi_filter).
Liquidity levels are filtered based on overbought (rsi_overbought) and oversold (rsi_oversold) conditions.
Levels that do not meet RSI conditions are not displayed.
MACD Filtering:
The ability to enable/disable MACD filtering (macd_filter).
Liquidity levels are filtered based on the MACD histogram condition (e.g., only if the histogram is above zero).
Levels that do not meet MACD conditions are not displayed.
Display of Market Maker Buys:
Condition for market maker buys:
Volume exceeds the average volume over the last 20 bars by 2 times.
Closing price is above the opening price.
Market maker buys are displayed on the chart as orange MM Buy markers below the candle.
Indicator Settings:
Moving average parameters:
short_ma_length: Period for the short MA.
long_ma_length: Period for the long MA.
Liquidity heatmap parameters:
liquidity_step: Step between liquidity levels.
max_levels: Maximum number of levels to display.
time_filter: Time filter (last N bars).
min_volume_filter: Minimum volume for displaying a level.
volatility_filter: Volatility filter (ATR multiplier).
RSI parameters:
rsi_filter: Enable/disable RSI filtering.
rsi_overbought: Overbought RSI level.
rsi_oversold: Oversold RSI level.
MACD parameters:
macd_filter: Enable/disable MACD filtering.
Color settings:
gradient_start_color: Starting color of the gradient.
gradient_end_color: Ending color of the gradient.
Visualization:
Moving averages:
Short MA: Blue line.
Long MA: Red line.
Signals:
Buy: Green BUY marker.
Sell: Red SELL marker.
Liquidity heatmap:
Liquidity levels: Horizontal lines with a color gradient.
Volumes: Text labels at levels.
Market maker buys:
Orange MM Buy markers.
Alerts:
The ability to set alerts for signals:
Buy (BUY).
Sell (SELL).
Additional Features:
Flexible filter settings:
Filtering by time, volume, volatility, RSI, and MACD.
Extensibility:
The ability to add new filters (e.g., Stochastic, Volume Profile, etc.).
Visual customization:
Adjustment of colors, sizes, and display styles.
Summary:
The indicator provides a comprehensive tool for analyzing liquidity, generating trading signals, and tracking market maker activity. It combines:
A liquidity heatmap.
Signals based on moving averages.
Filtering by RSI and MACD.
Display of market maker buys.
Flexible settings and visualization.
This indicator is suitable for traders who want to analyze liquidity levels, identify entry and exit points, and monitor the actions of large market players.
Footprint Chart by Th16rryDescription of the "Footprint Chart" Indicator
This indicator is an approximation of a true **Footprint Chart** adapted for TradingView, which does not provide access to tick-by-tick data or detailed order book information. It relies on **heuristics** to estimate the distribution of volume between buyers and sellers for each candlestick.
Key Features:
- Estimation of Buy/Sell Volume:
The indicator splits the total volume of a candlestick into two parts based on the candle's nature:
- For a bullish candle (close > open), it assumes that **60% of the volume** is executed on the ask (buys) and **40% on the bid** (sells).
- For a bearish candle (close < open), the estimation is reversed (40% buys, 60% sells).
- For a neutral candle (close = open), the volume is evenly distributed at 50% for each side.
- Calculation of a Simplified Delta:
The delta is defined as the difference between the estimated buy volume and sell volume. This delta helps quickly identify the dominant market pressure—positive for buyer dominance and negative for seller dominance.
- Visual Display:
- A label is placed on each candlestick displaying the delta value, with a green background for a positive delta (indicating buying pressure) and red for a negative delta (indicating selling pressure).
- A table in the top-right corner of the chart summarizes the estimated volumes for the current candle: buy volume, sell volume, and total volume.
#### How to Use the Indicator:
- Analyzing Buy/Sell Pressure:
By observing the label's color and the delta value, a trader can quickly assess whether the market shows a dominant buying or selling pressure during a given candle.
- Complementing Other Tools:
This indicator can be used alongside other technical analysis tools, such as the Volume Profile or trend indicators, to gain a more comprehensive understanding of market behavior.
- Supporting Decision Making:
By providing a visual estimate of the volume distribution, it can help identify divergences between price movement and volume activity, which may signal potential reversals or confirm ongoing trends.
Limitations:
- Heuristic Approximation:
The method of volume distribution is based on simple assumptions and does not reflect the actual order flow, which would require tick-by-tick data to be accurately represented.
- Data Limitations on TradingView:
Due to TradingView’s restrictions on accessing detailed order book data, this indicator can only approximate a Footprint Chart and does not replace specialized tools.
In summary, the "Footprint Chart" indicator provides a visual and quick estimation of the volume distribution between buyers and sellers for each candlestick, offering valuable insights into order flow dynamics while remaining aware of its heuristic limitations.